package com.zhi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 学院定义表
 */
@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Faculty {

    //学院id
    @Id
    private String facultyId;

    //学院名称
    @Column(nullable = false)
    private String facultyName;

}
